home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-10-26 | 1.1 KB | 52 lines | [TEXT/ScoM] |
- ; STRUCT3B - structure study (melody-led)
-
- (setq tonal (activate-tonality (dorian c 4) (pentatonic b& 3)))
-
- (setq mel1 (vector-to-symbol a g (gen-noise-white 36 2.0 0.25)))
- (setq mel1a (find-change mel1))
- (setq mel2 (vector-to-symbol a e (gen-noise-white 48 1.0 0.54)))
- (setq mel2a (find-change mel2))
-
- ; Nigel has been using tick value 96 for 1/4 note.
- ; Because Nigel often mixes ticks and ratios, the function must take
- ; both cases into account.
-
- (defun use-nigel-ticks (l)
- (let (out)
- (dolist (x l)
- (if (is-length-symbol x)
- (push x out)
- (push (* x 5) out)))
- (nreverse out)))
-
- (setq rhy1 (use-nigel-ticks (fill-template mel1 '(24 24 48 24 24 24 24 72 24 96))))
- (setq rhy2 (use-nigel-ticks (fill-template mel2 '(24 48 24 48 48 24 24 24 24))))
-
- (setq zone1 (list (make-zone rhy1)))
- (setq zone2 (list (make-zone rhy2)))
-
- (setq zones (append zone1 zone2 zone1))
- (setq rhys (append rhy1 rhy2 rhy1))
- (setq mels (append mel1a mel2a mel1a))
-
- (def-symbol
- bass mels
- )
-
- (def-length
- bass rhys
- )
-
- (def-zone
- bass zones
- )
-
- (def-tonality
- bass tonal
- )
-
- (compile-instrument-p "ccl;output:" "struct3b"
- bass
- )
-
-